package com.cqeec.gams.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cqeec.gams.entity.Account;
import com.cqeec.gams.mapper.AccountMapper;

@Service
public class AccountServiceImpl implements AccountService{
	
	@Autowired
	private AccountMapper accountMapper;
	
	@Override
	public Account login(String name, String password) {
		return accountMapper.findLoginAccount(name,password);
	}

}